package com.tpc.dao.core;

/**
 * @version 0.0.1
 * @author frederic.fortin
 * @modified 2010-09-11
 */
import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.Date;

public class City implements IsSerializable {

     private int id;
     private String name;
     private int stateId;
     private String stateName;
     private int countryId;
     private String countryName;
     private int life;
     private Date created_date;
     private Date modified_date;
     private int created_by;
     private int modified_by;

    public City() {
        
    }

    public int getId() {
        return id;
    }
    public void setId(int param) {
        id = param;
    }

    public String getName() {
        return name;
    }
    public void setName(String param) {
        name = param;
    }

    public int getStateId() {
        return stateId;
    }
    public void setStateId(int param) {
        stateId = param;
    }

    public String getStateName() {
        return stateName;
    }
    public void setStateName(String param) {
        stateName = param;
    }

    public int getCountryId() {
        return countryId;
    }
    public void setCountryId(int param) {
        countryId = param;
    }

    public String getCountryName() {
        return countryName;
    }
    public void setCountryName(String param) {
        countryName = param;
    }

    /** ALL TPC_OBJECT HAVE THOSE METHODS / FIELDS **/
     public int getLife() {
        return life;
    }
    public void setLife(int param) {
        life = param;
    }

    public Date getCreatedDate() {
        return created_date;
    }
    public void setCreatedDate(Date param) {
        created_date = param;
    }

    public int getCreatedBy() {
        return created_by;
    }
    public void setCreatedBy(int param) {
        created_by = param;
    }

    public Date getModifiedDate() {
        return modified_date;
    }
    public void setModifiedDate(Date param) {
        modified_date = param;
    }

    public int getModifiedBy() {
        return modified_by;
    }
    public void setModifiedBy(int param) {
        modified_by = param;
    }

}
